export default class MathUtil {

    /**
     * 获取两个整数之间的随机数
     */
    static getRandomInt(min:number, max:number) {
        min = Math.ceil(min);
        max = Math.floor(max);
        return Math.floor(Math.random() * (max - min + 1)) + min;
    }

}